package com.yanggu.payment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yanggu.payment.entity.OrderInfo;

import java.util.List;

public interface OrderInfoService extends IService<OrderInfo> {

    OrderInfo createOrderByProductId(Long productId, String paymentType);

    OrderInfo queryByOrderNo(String orderNo);

    List<OrderInfo> listOrderByCreateTimeDesc();

    String getOrderStatus(String orderNo);

}
